class CreatePartners < ActiveRecord::Migration
  def self.up
    create_table :partners do |t|
			t.column :name,       		:string
      t.column :body,  					:text
      t.column :url,        		:string
			t.column :logo_filepath,	:string
      t.column :created_at, 		:datetime
      t.column :updated_at, 		:datetime
    end

		Partner.create(
      :name  =>  "Versay",
      :url   =>  "http://www.versay.com/",
      :body  =>  %{<p>Versay creates speech applications that provide a compelling caller experience and a tremendous return on investment. With extensive experience in speech technology, voice user interface design, voice biometrics, human factors, linguistics, and telephony, Versay consults with enterprises to deploy customized, end-to-end speech solutions.</p>},
			:logo_filepath => "/images/logo_versay.png"
    )
    Partner.create(
      :name  =>  "Microsoft",
      :url   =>  "http://www.microsoft.com/",
      :body  =>  %{<p>Founded in 1975, Microsoft is the worldwide leader in software, services and Internet technologies for personal and business computing. The company offers a wide range of products and services designed to empower people through great software — any time, any place and on any device.</p>},
			:logo_filepath => "/images/logo_microsoft.png"
    )
    Partner.create(
      :name  =>  "Nuance",
      :url   =>  "http://www.nuance.com/",
      :body  =>  %{<p>Nuance delivers speech recognition, voice authentication, and text-to-speech software that makes the information and services of enterprises, telecommunications networks and the Internet available from any telephone.</p>},
			:logo_filepath => "/images/logo_nuance.png"
    )
    Partner.create(
      :name  =>  "Intel",
      :url   =>  "http://www.intel.com/design/network/products/telecom/index.htm",
      :body  =>  %{<p>Intel, the world's largest chip maker, is also a leading manufacturer of computer, networking and communications products. Intel strives to do a great job for its customers, employees and stockholders by being the preeminent building block supplier to the worldwide Internet economy.</p>},
			:logo_filepath => "/images/logo_intel.png"
    )
    Partner.create(
      :name =>  "Paraxip",
      :url  =>  "http://www.paraxip.com/",
      :body =>  %{<p>Paraxip Technologies offers software products enabling a seamless transition from traditional telephony to IP telephony. Paraxip's products are designed from the ground up to offer Voice-over-IP (VoIP) applications with un-paralleled transparency to the Public Switched Telephone Network (PSTN), enabling seamless operations even in hybrid environments, where traditional and IP telephony equipment and applications are mixed. Paraxip's products are optimized for speech, Interactive Voice Response and contact center applications.</p>},
			:logo_filepath => "/images/logo_paraxip.png"
    )
    Partner.create(
      :name =>  "Level 3",
      :url  =>  "http://www.level3.com/",
      :body =>  %{<p>Level(3) is in business for one reason: to provide you with the broadband network capacity to support the escalating bandwidth needs of your customers.</p><p>Vail Systems is a charter member of Level(3)'s (3)VoIP Technology Alliance Program.</p>},
			:logo_filepath => "/images/logo_level3.png"
    )
    Partner.create(
      :name =>  "Extreme Networks",
      :url  =>  "http://www.extremenetworks.com/",
      :body =>  %{<p>Extreme Networks is committed to delivering switched broadband networks that adapt swiftly to change and empower the delivery of future applications.</p>},
			:logo_filepath => "/images/logo_extreme.png"
    )
  end

  def self.down
    drop_table :partners
  end
end
